#!/usr/bin/env bash

cd front

npm run build

cd ../

rm -rf api/public/assets

mv front/stage/assets api/public/

mv front/stage/index.html api/resources/views/index.blade.php

rm -rf front/stage
